package com.bigegg.employee.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公告职位对象 job_board_post
 * 
 * @author sun
 * @date 2022-08-15
 */
public class BoardPost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 公告ID */
    @Excel(name = "公告ID")
    private Long boardId;

    /** 公司ID */
    @Excel(name = "公司ID")
    private Long companyId;

    /** 职位ID */
    @Excel(name = "职位ID")
    private Long postId;

    /** 排序 */
    @Excel(name = "排序")
    private Long sortNo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBoardId(Long boardId) 
    {
        this.boardId = boardId;
    }

    public Long getBoardId() 
    {
        return boardId;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setPostId(Long postId) 
    {
        this.postId = postId;
    }

    public Long getPostId() 
    {
        return postId;
    }
    public void setSortNo(Long sortNo) 
    {
        this.sortNo = sortNo;
    }

    public Long getSortNo() 
    {
        return sortNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("boardId", getBoardId())
            .append("companyId", getCompanyId())
            .append("postId", getPostId())
            .append("sortNo", getSortNo())
            .toString();
    }
}
